package com.e3.basdoc.dept.server;

import com.e3.basdoc.dept.service.DeptQueryService;
import com.e3.basdoc.dept.service.DeptService;
import com.e3.core.base.ServiceLocator;

public class DeptServiceClient {
	
	private static DeptService deptService;

	private static DeptQueryService deptQueryService;

	public static DeptService getDeptService() {
		if (deptService == null) {
			deptService = ServiceLocator.getService(DeptService.class);
		}
		return deptService;
	}

	public static DeptQueryService getDeptQueryService() {
		if (deptQueryService == null) {
			deptQueryService = ServiceLocator.getService(DeptQueryService.class);
		}
		return deptQueryService;
	}

}
